Skip to content

docs: document is_active field on Odds (SHA-3803)#255

Merged
Mlaz-code merged 3 commits into
mainfrom
feat/sha-3803-is-active
May 31, 2026
Merged

docs: document is_active field on Odds (SHA-3803)#255
Mlaz-code merged 3 commits into
mainfrom
feat/sha-3803-is-active

Conversation

@Mlaz-code
Copy link
Copy Markdown
Collaborator

Documents the new is_active market-suspension field (sharp-api-go #725 / api-adapters #1239).

  • Adds is_active to the OpenAPI Odds schema (not required) + the /odds field-reference table.
  • Bumps info.version 2.1.0 → 2.2.0 with the matching CHANGELOG ## 2.2.0 entry required by the openapi-version-check gate.

false = market suspended/closed, price frozen; mirrors OpticOdds locked-odds; absent treated as true. Refs SHA-3803.

Type: docs

🤖 Generated with Claude Code

Codex and others added 3 commits May 31, 2026 08:18
Add `is_active` to the OpenAPI Odds schema + the /odds field reference
(false = market suspended/closed, price frozen; mirrors OpticOdds locked-odds;
absent treated as true). Bumps openapi info.version 2.1.0 -> 2.2.0 with the
matching CHANGELOG entry required by the openapi-version-check gate.

Type: docs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the odds:locked SSE + WS event (sharp-api-go #725) to stream.mdx and
websocket.mdx, plus an is_active row in the OddsDelta table. Supplementary
OpticOdds-locked-odds analogue; suspended rows also ride odds:update with
is_active=false. Content/MDX only — no openapi.json schema change, so no
further info.version bump.

Type: docs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…3803)

The OddsDelta table omitted dynamic fields that deltas carry (is_main_line,
is_alternate_line, is_stale_pregame_price, exchange volumes) and didn't spell
out the static-vs-dynamic split. Document the real compact delta shape and the
"merge by id, never read static fields off a delta" contract. Pairs with the
server-side delta compaction (sharp-api-go #726). Content/MDX only.

Type: docs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Mlaz-code Mlaz-code merged commit c86b7de into main May 31, 2026
1 check passed
@Mlaz-code Mlaz-code deleted the feat/sha-3803-is-active branch May 31, 2026 14:35
@Mlaz-code
Copy link
Copy Markdown
Collaborator Author

Merge gate (auto-classified): gate=fixes-issue — auto-classified by the gate-log enforcer (15min after merge, no Merge gate: audit comment found). Reviewer agent: please correct if wrong by replying with Merge gate: gate=<correct-word> — <evidence>. The audit log keys on the first such token; your correction overrides this auto-classified guess.

Posted by scripts/gate-log-enforcer.py because instruction-level rules about the gate= template aren't binding (0/N adoption); structural enforcement fills the log either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant